package org.osami.gateway.watteco.interfaces;

public class NodeInfoIPv6
{
	/**
	 * Node type (W1 or Plug).
	 */
	public static enum Type {
		W1, PLUG
	}

	private String ipAddress;
	private Type nodeType;

	/**
	 * @param ipAddress
	 * @param nodeType
	 */
	public NodeInfoIPv6(String ipAddress, Type nodeType)
	{
		this.ipAddress = ipAddress;
		this.nodeType = nodeType;
	}

	/**
	 * @return the IP address
	 */
	public String getIPAddress()
	{
		return this.ipAddress;
	}

	/**
	 * @return the MAC address
	 */
	public String getID()
	{
		return this.ipAddress;
	}

	/**
	 * @return the nodeType
	 */
	public Type getNodeType()
	{
		return this.nodeType;
	}
}
